home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / win-fort.zip / FORTWIN < prev    next >
Text File  |  1991-11-11  |  1KB  |  36 lines

  1. # Standard Windows make file.  The utility MAKE.EXE compares the
  2. # creation date of the file to the left of the colon with the file(s)
  3. # to the right of the colon.  If the file(s) on the right are newer
  4. # then the file on the left, Make will execute all of the command lines
  5. # following this line that are indented by at least one tab or space.
  6. # Any valid MS-DOS command line may be used.
  7.  
  8. # This line allows NMAKE to work as well
  9.  
  10. all: fortwin.exe
  11.  
  12. # Update the resource if necessary
  13.  
  14. fortwin.res: fortwin.rc fortwin.h
  15.     rc -r fortwin.rc
  16.  
  17. # Update the object file if necessary
  18.  
  19. fortwin.obj: fortwin.for fortwin.fi fortwin.fd
  20.     FL /c /AH /Zp /FPi /Gw FORTWIN.FOR
  21. noqwin.obj:
  22.     LIB \FORTRAN\LIB\NOQWIN.LIB *noqwin;
  23.  
  24. # Update the executable file if necessary, and if so, add the resource back in.
  25.  
  26. fortwin.exe:: fortwin.obj noqwin.obj fortwin.res fortwin.def
  27.     link /NOD /NOE fortwin noqwin,,, llibfew, fortwin.def
  28.     rc fortwin.res
  29.  
  30. # If the .res file is new and the .exe file is not, update the resource.
  31. # Note that the .rc file can be updated without having to either 
  32. # compile or link the file.
  33.  
  34. fortwin.exe:: fortwin.res fortwin.ico
  35.     rc fortwin.res
  36.